package com.lwy.qiuchao.vending.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lwy.common.utils.PageUtils;
import com.lwy.qiuchao.vending.entity.VendingMachineEntity;
import com.lwy.qiuchao.vending.vo.FieldVo;
import com.lwy.qiuchao.vending.vo.VendingDetailVo;
import com.lwy.qiuchao.vending.vo.VendingNumVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lwy
 * @email ${email}
 * @date 2020-12-01 15:51:09
 */
public interface VendingMachineService extends IService<VendingMachineEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<VendingNumVo> listFieldandvnum(Map<String, Object> params);

    List<VendingDetailVo> vendingDetailbyFieldid(Long field);

    void updateStatus(VendingMachineEntity vendingMachine);

    void removeOne(VendingMachineEntity vendingMachine);

    List<FieldVo> selectFieldandVend();
}

